<!-- include tpl=head title=$page_rs.title menutitle=$page_rs.title -->
<div data-role="navbar">
	<ul>
		<!-- catelist pid=$page_rs.id -->
		<!-- loop from=$list.sublist key=$key value=$value -->
		<li><a href="{$value.url}"{if $cate_rs.id == $value.id} class="ui-btn-active"{/if}>{$value.title}</a></li>
		<!-- /loop -->
	</ul>
</div>

<div class="main">
	<ul class="pictures">
		<!-- loop from=$rslist key=$key value=$value -->
		<!-- php:$thumb = current($value.thumb) -->
		<li><a href="{$value.url}" title="{$value.title}"><img src="{$thumb.gd.thumb}" alt="{$value.title}" width="150" border="0" /></a></li>
		<!-- /loop -->
	</ul>
	<div class="clear"></div>
	<div style="margin-top:5px;"><!-- include tpl=pagelist --></div>
</div>
<!-- include tpl=foot -->